package com.vhly.aapt;

import com.vhly.aapt.io.OrderInputStream;

import java.io.IOException;

/**
 * Created by IntelliJ IDEA.
 * User: vhly[FR]
 * Date: 2010-4-26
 * Time: 16:05:53
 */
public class ResXMLTree_namespaceExt extends ResXMLTree_node {
    public int prefixStringPoolIndex;
    public int uriStringPoolIndex;

    public boolean isEnd;

    public ResXMLTree_namespaceExt(boolean end) {
        isEnd = end;
    }

    @Override
    public void read(OrderInputStream din) throws IOException {
        super.read(din);
        prefixStringPoolIndex = din.readInt();
        uriStringPoolIndex = din.readInt();
    }

    @Override
    public short getHeaderSize() {
        return 0;
    }

    @Override
    public byte[] getData() {
        return new byte[0];
    }
}